//创建连接池对象
const mysql=require('mysql');
const pool=mysql.createPool({
host:'127.0.0.1',
port:'3306',
user:'root',
passward:'',
database:'xz',
connectionLimit:15

});




//导出对象
module.exports=pool;